package com.bot.adms.model.vo;

import com.bot.adms.model.entity.AdSpScDetailText;

/**
 * 广告文字信息视图模型
 */
public class AdSpScDetailTextVo {
    public AdSpScDetailTextVo(AdSpScDetailText adSpScDetailText) {
        this.id = adSpScDetailText.getId();
        this.imageUrl = adSpScDetailText.getImageUrl();
        this.location = adSpScDetailText.getLocation();
        this.fontType = adSpScDetailText.getFontType();
        this.fontSize = adSpScDetailText.getFontSize();
        this.fontColor = adSpScDetailText.getFontColor();
        this.textContent = adSpScDetailText.getTextContent();
    }

    public AdSpScDetailTextVo() {
    }
    /**
     * 广告文字信息id
     */
    private Long id;
    /**
     * 背景图片（文件路径）
     */
    private String imageUrl;
    /**
     * 显示位置（0上、1中、2下，默认中间）
     */
    private Integer location;
    private String loaclStr;

    /**
     * 字体类型（0宋体、1微软雅黑，默认宋体）
     */
    private Integer  fontType;
    private String fontTypeStr;

    /**
     * 字体大小（7-12号，默认10号）
     */
    private Integer fontSize;
    /**
     * 字体颜色（显色板选择，默认黑）
     */
    private String fontColor;
    /**
     * 文字内容（15-1024字）
     */
    private String textContent;


    public String getFontTypeStr() {
        return fontTypeStr;
    }

    public void setFontTypeStr(String fontTypeStr) {
        this.fontTypeStr = fontTypeStr;
    }

    public String getLoaclStr() {
        return loaclStr;
    }

    public void setLoaclStr(String loaclStr) {
        this.loaclStr = loaclStr;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getLocation() {
        return location;
    }

    public void setLocation(Integer location) {
        this.location = location;
    }

    public Integer getFontType() {
        return fontType;
    }

    public void setFontType(Integer fontType) {
        this.fontType = fontType;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public String getFontColor() {
        return fontColor;
    }

    public void setFontColor(String fontColor) {
        this.fontColor = fontColor;
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }


}
